YNQ  YNQ-1.6.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
File Locking

Macros

#define syUnlockFile(_file,_offsetHigh,_offsetLow,_lengthHigh,_lengthLow,_timeout)   ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS)
 
#define syLockFile(_file,_offsetHigh,_offsetLow,_lengthHigh,_lengthLow,_lockType,_oplockLevel)   ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS)
 

Detailed Description

File locking

The default implementation is mere a placeholder

Macro Definition Documentation

#define syUnlockFile (   _file,
  _offsetHigh,
  _offsetLow,
  _lengthHigh,
  _lengthLow,
  _timeout 
)    ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS)
#define syLockFile (   _file,
  _offsetHigh,
  _offsetLow,
  _lengthHigh,
  _lengthLow,
  _lockType,
  _oplockLevel 
)    ((_file==ERROR)? NQ_FAIL:NQ_SUCCESS)